package org.osll.tictactoe.transport.tcp;

import java.io.Serializable;

import org.osll.tictactoe.Team;

public class LoginQuery extends DefaultQuery implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1918645352452290443L;

	private String name;
	
	private Team team;
	
	public LoginQuery() {
		super(Type.LOGIN);
	}

	public void setTeam(Team team) {
		this.team = team;
	}

	public Team getTeam() {
		return team;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}
}
